package gao.xiaolei.dao;

import gao.xiaolei.entity.TestReqAnalysis;
import org.springframework.data.jpa.repository.JpaRepository;
import org.springframework.stereotype.Repository;

import java.util.List;

@Repository("TestReqAnalysisDao")
public interface TestReqAnalysisDao extends JpaRepository<TestReqAnalysis, String> {

    public List<TestReqAnalysis> findAllByParentIdAndProjectId(String parentId, String projectId);

    public void deleteAllByProjectId(String projectId);

}
